﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Himp.Platform.Migrations
{
    /// <inheritdoc />
    public partial class modify_table_SysMenu_clientid : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "MenuType",
                table: "MainSysMenu");

            migrationBuilder.RenameColumn(
                name: "Grp",
                table: "MainSysMenu",
                newName: "GrpFlag");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "GrpFlag",
                table: "MainSysMenu",
                newName: "Grp");

            migrationBuilder.AddColumn<int>(
                name: "MenuType",
                table: "MainSysMenu",
                type: "integer",
                nullable: false,
                defaultValue: 0);
        }
    }
}
